///###############
//FILE          : SortedStructureNullException.java
//WRITER        : Lior Zimmerman, liorz06, 066462300
//WRITER        : Ohad Dan, ohad_dan, 036767960
//EXERCISE      : oop ex1 2008
//DESCRIPTION   : this exception is generated when a null value is inserted to
//              : the list
//###############
package oop.ex1.sortedStructure;
/**
 * Handles an error of inserting a null value.
 */
public class SortedStructureNullException extends 
    SortedStructureException{
    private static final long serialVersionUID = 1L;

	/**
     * In case of exception catch, an exception message should 
     * be prompted and directed to upper hierarchy implementation.
     * @param msg Prompt this message in case of an error.
     */
    public SortedStructureNullException (String msg){
        super(msg);
    }

    /**
     * In case of exception catch, directed handling should be 
     * delivered to upper hierarchy implementation.
     */
    public SortedStructureNullException (){
        super();
    }

}
